package com.xk857.modules.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author CV大魔王
 * @since 2021-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("student")
@ApiModel(value="Student对象", description="Student对象")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "性别 1true 男")
    private Boolean gender;

    @ApiModelProperty(value = "班级")
    private String classes;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "QQ号码")
    private String qq;

    @ApiModelProperty(value = "0中职 1普高 2其他")
    private Integer education;

    @ApiModelProperty(value = "原学校")
    private String oldSchool;

    @ApiModelProperty(value = "籍贯")
    private String hometown;

    @ApiModelProperty(value = "未来三年的规划")
    private String plan;

    @TableField("`programming`")
    @ApiModelProperty(value = "0没有接触过 1接触过 2精通最少一门语言")
    private Integer programming;

    @ApiModelProperty(value = "备注信息")
    private String remarks;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;
}
